Code Dissector

This program Searches through your code to find specific objects and creates lists of them. It uses Regular Expressions for searching. It lets you have a Tab delimited list of Line Numbers that the objects appear in your code.

It also can install the fTestCode() function into your code. This is something that is used to help find errors and/or keep track of user activity.

Before you get started you will need to know the rules.

First, Paste your code in the Text Area below.

Type Regular Expressions in the Textboxes below to use to find the associated object.
Textboxes left blank will be ignored.

Go To Get List button

Type a Regular Expression to Search for: Regular Expressions
Text Boxes
TextArea
Select; Drop Down Boxes
Buttons
Radio Buttons
Images
DIV Tags
Span Tags
Anchors - Location
Anchors - href
All Global Variables
All Arrays
All Regular Expressions
Checkboxes
Functions
Forms


After you finish with your Regular Expressions,
Click the Get Lists button to Search for your Objects.

When your Lists appear, make sure none of the objects are created by a script. These objects always need to be present on your web page or the fTestCode function will give you errors.

Go to next step
TextBoxes
TextArea
Select
Buttons
Radio
Images
DIV
Span
Location
href
All Arrays
Global Arrays
Global Variables
Forms
Checkboxes
Functions
All Regular Expressions
Global Regular Expressions
This is a TAB delimited List of Objects that appear in comments or are created within Script Tags. This is here for your information.
After you check your boxes you can create a MyDissectorList.js file. This file will also contain a commented list of your Objects. Save it in the directory
"C:\Karls Files\Karl\JavaScript\MyDissectorList.js"
This can be used with a primative fTestCode() function creator.













You can view the progress in the Window Status Bar at the bottom of the screen.
The Stop button will not take effect until the following Array Object is finished.

This is New Code with the fTestCode() function

This is the TestCode.js file
Save this as a TEXT file with the name TestCode.js in the same directory as your own code.

 

Parts List